<template>
  <div class="ts-scroll">
    <slot></slot>
  </div>
</template>

<script>
  export default {
    name: 'FlexView'
  }
</script>

<style lang="scss">
  .ts-scroll {
    position: relative;
    flex: 1;
    width: 100%;
    & > div:first-child {
      -webkit-tap-highlight-color: transparent;
      width: 100%;
      height: 100%;
      overflow-y: scroll;
      position: absolute;
      top: 0;
      left: 0;
      user-select: none;
    }
    ::-webkit-scrollbar {
      display: none;
    }
  }
</style>
